//
//  SharePromoteInfoModel.m
//  Btpin
//
//  Created by Vic on 2019/9/29.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "SharePromoteInfoModel.h"

@implementation SharePromoteInfoModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.share_times = [UIToolsControl dataAnalysis:keyedValues[@"share_times"]];
    self.click_times = [UIToolsControl dataAnalysis:keyedValues[@"click_times"]];
    self.once_price = [UIToolsControl dataAnalysis:keyedValues[@"once_price"]];
    self.total_amount = [UIToolsControl dataAnalysis:keyedValues[@"total_amount"]];
    self.remain_amount = [UIToolsControl dataAnalysis:keyedValues[@"remain_amount"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    SharePromoteInfoModel *model = [[[self class] allocWithZone:zone] init];
    model.share_times = self.share_times;
    model.click_times = self.click_times;
    model.once_price = self.once_price;
    model.total_amount = self.total_amount;
    model.remain_amount = self.remain_amount;
    
    return model;
}

@end
